package com.example.function.pool.dao.one;

import com.example.common.dao.BaseJpaRepository;
import com.example.function.pool.model.one.CarModel;

import java.util.List;

public interface CarModelJpaRepository extends BaseJpaRepository<CarModel, Long>{
    List<CarModel> findCarModelsByUserIdAndProjectIdIsNull(Long userId);

    List<CarModel> findCarModelsByProjectId(Long projectId);
}
